package com.bidcms.web.showcase;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.bidcms.web.BaseController;

@Controller("showcase.PageController")
@RequestMapping("showcase")
public class PageController extends BaseController{

	@RequestMapping(value="", method = RequestMethod.GET)
	public ModelAndView index(){
		ModelAndView mv = new ModelAndView("");
		addGlobalAttrs(mv);
		return mv;
		
	}
	
	//component
	@RequestMapping(value="/component", method = RequestMethod.GET)
	public ModelAndView component(){
		ModelAndView mv = new ModelAndView("showcase_component");
		addGlobalAttrs(mv);
		mv.addObject("team_status", "{\"weixin_server\":0}");
		return mv;
	}
	
	
}
